{include file="header.php" cache_lifetime=500}
<form action="/item/add" method="post">
    <input type="text" value="点击添加" onclick="this.value=''" name="value">
    <input type="submit" value="添加">
</form>
<br/><br/>

{$number}

{foreach $items as $key=>$item}
    <a class="big" href="/item/view/{$item['id']}" title="点击修改">
        <span class="item">
            {$key}
            {$item['item_name']}
        </span>
    </a>
    ----
    <a class="big" href="/item/delete/{$item['id']}">删除</a>
    <br/>
{/foreach}

{include file="footer.php"}
